#include "StdAfx.h"
#include "DGlobals.h"

DGlobals::DGlobals(void)
: m_nScreenWidth(1024)
, m_nScreenHeight(768)
{

}

DGlobals::~DGlobals(void)
{
}

DGlobals& DGlobals::instance()
{
    static DGlobals inst;
    return inst;
}

std::string DGlobals::graphicsPath() const
{
    return "Data/Graphics/";
}

std::string DGlobals::backgroundsPath() const
{
	return graphicsPath() + "Backgrounds/";
}

std::string DGlobals::sfxPath() const
{
    return graphicsPath() + "Postprocesses/";
}

unsigned int DGlobals::screenWidth() const
{
	return m_nScreenWidth;
}

unsigned int DGlobals::screenHeight() const
{
	return m_nScreenHeight;
}